package constants;

/**
 * @ author 韩
 * time: 2024/5/15 1:05
 */

public class OSSConstants {
    public static final String OSS_MUSIC_KEY = "login:token:";
    public static final String OSS_MUSIC_SUFFIX = ".mp3";
    public static final String OSS_COVER_SUFFIX = ".png";
    public static final String OSS_MUSIC_PREFIX = "music/";
    public static final String OSS_HTTPS_PREFIX = "https://";
    public static final String OSS_COVER_PREFIX = "cover/";
    public static final String OSS_AVATAR_USER_PREFIX = "avatar/user/";
    public static final String OSS_AVATAR_MUSICIAN_PREFIX = "avatar/musician/";
    public static final String OSS_COVER_ALBUM_PREFIX = "cover/albumId/";
    public static final String OSS_AVATAR_SUFFIX = ".png";
    public static final String OSS_BUCKET_NAME = "hfymusic";
    public static final String OSS_ENDPOINT = "oss-cn-beijing.aliyuncs.com";

    // 给OSS的文件取名字的时候用的是UUID 当系统并发量大的时候其实应该不同的文件类型用不用的前缀

}
